package com.cqhfan.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 眭传洪
 * @create 2025-08-01 0:02
 */
@Getter
public enum WatchTypeEnum {
    ALL(0, "所有人"),
    FRIENDS(1, "朋友"),
    ONLY(2, "仅自己"),
    ANY(3, "部分")
    ;

    WatchTypeEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @JsonValue
    @EnumValue
    final Integer value;

    final String desc;

}
